<script lang="tsx">
import { defineComponent } from 'vue'

export default defineComponent({
  name: 'CjuiTableColumnRender',
  props: {
    row: {
      type: Object,
      default: () => ({})
    },
    column: {
      type: Object,
      default: () => ({})
    },
    columnRender: {
      type: String,
      default: ''
    },
    columnRenderProps: {
      type: Object,
      default: () => ({})
    },
  },
  setup(props) {
    function renderColumnTag() {}
    function renderColumn() {
      if (props.columnRender === 'tag') {
        return renderColumnTag()
      }
      return ''
    }

    return () => renderColumn()
  }
})
</script>